// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_MST_POSITION
// * CreateDate    : 2011/9/27 11:24:17
// * Creater       : CodeSmith
// * LastChangeDate: 2011/9/27 11:24:17
// * LastChanger   : 2011/9/27 11:24:17
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class MstPositionTable : TableInfo
    {
		public const string C_TableName = "MST_POSITION";
		
		public const string C_POSITION_ID = "POSITION_ID";
		public const string C_POSITION_CODE = "POSITION_CODE";
		public const string C_POSITION_NAME = "POSITION_NAME";
		public const string C_LEVEL = "LEVEL";
		public const string C_DELETE_FLAG = "DELETE_FLAG";
		public const string C_DESCRIPTION = "DESCRIPTION";
		
		public MstPositionTable()
        {
            _tableName = "MST_POSITION";
        }
		
		protected static MstPositionTable _current;
        public static MstPositionTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new MstPositionTable();

            _current.Add(C_POSITION_ID, new ColumnInfo(C_POSITION_ID,"PositionId", true, typeof(string)));
            _current.Add(C_POSITION_CODE, new ColumnInfo(C_POSITION_CODE,"PositionCode", false, typeof(string)));
            _current.Add(C_POSITION_NAME, new ColumnInfo(C_POSITION_NAME,"PositionName", false, typeof(string)));
            _current.Add(C_LEVEL, new ColumnInfo(C_LEVEL,"Level", false, typeof(string)));
            _current.Add(C_DELETE_FLAG, new ColumnInfo(C_DELETE_FLAG,"DeleteFlag", false, typeof(int)));
            _current.Add(C_DESCRIPTION, new ColumnInfo(C_DESCRIPTION,"Description", false, typeof(string)));
			
		}
		
		public ColumnInfo POSITION_ID
        {
            get { return this[C_POSITION_ID]; }
        }
		
		public ColumnInfo POSITION_CODE
        {
            get { return this[C_POSITION_CODE]; }
        }
		
		public ColumnInfo POSITION_NAME
        {
            get { return this[C_POSITION_NAME]; }
        }
		
		public ColumnInfo LEVEL
        {
            get { return this[C_LEVEL]; }
        }
		
		public ColumnInfo DELETE_FLAG
        {
            get { return this[C_DELETE_FLAG]; }
        }
		
		public ColumnInfo DESCRIPTION
        {
            get { return this[C_DESCRIPTION]; }
        }
		
		
		
	}
}

